package open.tech.dawn.rest.module.system.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import open.tech.dawn.jdbc.SuperMapper;
import open.tech.dawn.rest.module.system.model.SysLoginLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 登录记录 Mapper 接口
 * </p>
 *
 * @author joss
 * @since 2019-11-07
 */
public interface SysLoginLogMapper extends SuperMapper<SysLoginLog> {

    /**
     * 获取登录日志
     */
    List<SysLoginLog> getLoginLogs(@Param("page") Page<SysLoginLog> page, @Param("beginTime") String beginTime,
                                           @Param("endTime") String endTime, @Param("logName") String logName);



}
